#!/usr/bin/env python
import re


class State(object):
    def read(self):
        file = open('state.conf', 'r')
        state = file.read()
        return state

    def write(self, state):
        file = open('state.conf', 'w')
        file.write(state)
        file.flush()
        self.read()


if __name__ == "__main__":
    state=State()
    print state.read()